package com.epam.command.admin;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.epam.command.logic.Command;
import com.epam.util.ConfigurationManager;

public class GoToPageCommand implements Command {
	

	@Override
	public String execute(HttpServletRequest request,
			HttpServletResponse response) {
		
		String address = request.getParameter("address");
		String page = ConfigurationManager.getConfig(address);
		
		return page;
		
		
	}

}
